package cn.sanch.org.domain;


import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.sanch.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {

  /**
   * 店铺名字
   */
  @Excel(name = "店铺名字", width = 20)
  private String name;
  /**
   * 店铺电话
   */
  @Excel(name = "店铺电话", width = 20)
  private String tel;
  /**
   * 店铺入驻时间
   */
  @Excel(name = "店铺入驻时间", width = 30, exportFormat = "yy年MM月dd日")
  @JsonFormat(pattern = "yy年MM月dd日", timezone = "GTM+8")
  private Date registerTime = new Date();
  /**
   * 店铺状态
   * 1：未审核 2：审核中 3：审核通过 4：驳回
   */
  @Excel(name = "店铺状态", width = 10)
  private Integer state = 1;
  /**
   * 店铺地址
   */
  @Excel(name = "店铺地址", width = 50)
  private String address;
  /**
   * 店铺logo
   */
  @Excel(name = "店铺logo", width = 50)
  private String logo;
  /**
   * 店铺管理员id
   */
  private Long admin_id;
  /**
   * 关联对象 - 店铺管理员对象
   */
  private Employee employee;




}
